<?php
namespace app\qingadmin\controller;

use app\BaseController;
use think\facade\Db;
use app\common\model\User;
use think\facade\View;

class Index extends BaseController
{
    public function index(){
        return view();
    }
    public function welcome(){
        $loginUser = 'hehe';
        return view('',[
            'count1'=>100,
            'count2'=>100,
            'count3'=>100,
            'count4'=>100,
            'loginUser'=>$loginUser,
        ]);
    }
    public function logout(){
        session('adminSessionData','');
        redirect('/qingadmin/login/index');
    }
}
